/**
 * 
 */
package com.ibm.moa.outmail.service;

import com.ibm.moa.outmail.module.MailInfo;

/**
 * @author user
 *
 */
public interface ImailService {

	/**
	 * <p>
	 * 获取邮件列表
	 * </p>
	 * Created on 2015-5-12
	 * 
	 * @author: [张役兵] -
	 * @update: [日期YYYY-MM-DD] [更改人姓名]
	 */
	public String getImailList(String userMail, String password, int pageNo, int pageSize, String note);

	/**
	 * <p>
	 * 查看邮件详细
	 * </p>
	 * Created on 2015-5-12
	 * 
	 * @author: [张役兵] -
	 * @update: [日期YYYY-MM-DD] [更改人姓名]
	 */
	public String getImailDetail(String userCode, String password, String imailId, String note);

	/**
	 * <p>
	 * 搜索邮件列表
	 * </p>
	 * Created on 2015-5-12
	 * 
	 * @author: [张役兵] -
	 * @update: [日期YYYY-MM-DD] [更改人姓名]
	 */
	public String searchMail(String userCode, String password, String searchCond, int flag, int pageNo, int pageSize, String note);

	/**
	 * <p>
	 * 发送邮件接口
	 * </p>
	 * Created on 2015-5-13
	 * 
	 * @author: [张役兵] -
	 * @update: [日期YYYY-MM-DD] [更改人姓名]
	 */
	public String sendEmail(String userCode, String password, MailInfo mailInfo, String forwardMailID, String[] attachNames,
			String note, String[] filePathList);

	/**
	 * <p>
	 * 删除附件
	 * </p>
	 * Created on 2015-5-14
	 * 
	 * @author: [张役兵] -
	 * @update: [日期YYYY-MM-DD] [更改人姓名]
	 */
	public String deleteMail(String userCode, String password, String mailIds, String note);

	/**
	 * <p>
	 * 获得邮件附件
	 * </p>
	 * Created on 2015-5-17
	 * 
	 * @author: [张役兵] -
	 * @update: [日期YYYY-MM-DD] [更改人姓名]
	 */
	public String getMailAttach(String userCode, String password, String mailId, String fileName, String requestPath, String note, String fileBasePath);

	/**
	 * <p>
	 * 发送邮件接口
	 * </p>
	 * Created on 2015-5-13
	 * 
	 * @author: [张役兵] -
	 * @update: [日期YYYY-MM-DD] [更改人姓名]
	 */
	public String getUnreadEmailNum(String userCode, String password);
}
